package com.sky.service.merchant.impl;

import com.sky.mapper.admin.MerchantMapper;
import com.sky.pojo.Merchant;
import com.sky.service.merchant.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description MerchantServiceImpl
 * @Author lijingtong
 * @Date 2024-10-13
 */
@Service
public class MerchantServiceImpl implements MerchantService {

    @Autowired
    private MerchantMapper merchantMapper;
    /**
     * 获取商家信息
     * @param id
     * @return
     */
    @Override
    public Merchant getShopById(long id) {
        return merchantMapper.getShopById(id);
    }
}
